package example.pattern.bridge;

public class Main {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		Display display1 = new Display(new StarDisplayImplementor("Hello"));
		Display display2 = new Display(new LineDisplayImplementor("Hello"));
		MultiDisplay display3 = new MultiDisplay(new StarDisplayImplementor("Hello"));
		MultiDisplay display4 = new MultiDisplay(new LineDisplayImplementor("Hello"));
		
		display1.display();
		display2.display();
		display3.multiDisplay();
		display4.multiDisplay();
	}

}
